﻿using System.Collections.Generic;
using TPOJ.Model;

namespace TPOJ.IDAL
{
    public interface IProblemDAO
    {
        Problem GetProblem(int id);
        IList<Problem> GetAllProblems();
        IList<Problem> GetProblemsByVolume(int volumeId);
        void Create(Problem problem);
        Problem Edit(Problem problem);
    }
}
